function bookRoom(){
	var panel = new Ext.FormPanel({
		id: 'bookPanel',
        labelWidth: 75, // label settings here cascade unless overridden
        url:'save-form.php',
        //frame:true,
        title: 'Simple Form',
        bodyStyle:'padding:5px 5px 0',
        width: 350,
        defaults: {width: 230},
        defaultType: 'textfield',

        items: [{
                fieldLabel: 'First Name',
                name: 'first',
                allowBlank:false
            },{
                fieldLabel: 'Last Name',
                name: 'last'
            },{
                fieldLabel: 'Company',
                name: 'company'
            }, {
                fieldLabel: 'Email',
                name: 'email',
                vtype:'email'
            },{
            	fieldLabel: 'Start Date',
                name: 'startdt',
                id: 'startdt',
                vtype: 'datefield'
            },{
                fieldLabel: 'End Date',
                name: 'enddt',
                id: 'enddt',
                vtype: 'datefield'
        }],
        buttons: [{
            text: 'Save'
        },{
            text: 'Cancel'
        }]
    });
	
	return panel;
}